With "Insert" the following dialog opens:

Here, you enter the cost center with up to nine digits, first. The number must be defined in the preferences first. The cost center must be unique. With the next checkbox, you can block this cost center for further usage (accounts, entries...). At last you enter a describing text.

Define the number of digits for the cost center in the preferences, first. A later change is not possible.